import axios from '@/api/fetch';
import SERVER from '@/api/server';
// 整车订单收款查询
export const getPubPayobj = params => axios.get(`${SERVER.CYXDMS_FINANCE}/pubPayobj/getPubPayobj`, { params })
// 根据销售订单号查询整车订单收款详细
export const getPubPayobjMore = params => axios.get(`${SERVER.CYXDMS_FINANCE}/pubPayobj/getPubPayobjMore`, { params } )
// 根据pubPayId获取订单详情
export const getPubPayItemByPubPayId = params => axios.get(`${SERVER.CYXDMS_FINANCE}/pubPayItem/getPubPayItemByPubPayId`, { params } )
// pubPayItem/addItem 新增订单详情
export const addItem = params => axios.post(`${SERVER.CYXDMS_FINANCE}/pubPayItem/addItem`, params)
